import 'package:love_newf/generated/json/base/json_field.dart';
import 'package:love_newf/generated/json/app_config_model.g.dart';
import 'dart:convert';
export 'package:love_newf/generated/json/app_config_model.g.dart';

@JsonSerializable()
class AppConfigModel {
	late AppConfigVersionVO versionVO;
	late AppConfigWxBindParamVO wxBindParamVO;
	late String imAppId = '';
	late String jgAppId = '';
	late String jgAppSign = '';
	late String baiduAccessToken = '';
	late String wxPublicUrl = '';
	late List<AppConfigAdminUsers> adminUsers = [];
	late AppConfigOssParamsVO ossParamsVO;
	late int yellowCheckCycle = 0;
	late String yellowCheckUploadUrl = '';
	late String xxBase64 = '';
	late int autoClose = 0;
	late int autoCloseInterval = 0;
	late int isGiftPreCached = 0;
	late int giftCacheMode = 0;
	late List<AppConfigTipsVOS> tipsVOS = [];
	late AppConfigLiuMaVO3 liuMaVO3;
	late AppConfigLiuMaVO7 liuMaVO7;
	late AppConfigLiuMaVO9 liuMaVO9;

	AppConfigModel();

	factory AppConfigModel.fromJson(Map<String, dynamic> json) => $AppConfigModelFromJson(json);

	Map<String, dynamic> toJson() => $AppConfigModelToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class AppConfigVersionVO {
	late int id = 0;
	late String title = '';
	late String url = '';
	late int forces = 0;
	late String description = '';
	late String version = '';
	late bool force = false;

	AppConfigVersionVO();

	factory AppConfigVersionVO.fromJson(Map<String, dynamic> json) => $AppConfigVersionVOFromJson(json);

	Map<String, dynamic> toJson() => $AppConfigVersionVOToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class AppConfigWxBindParamVO {
	late String appid = '';
	late String scope = '';

	AppConfigWxBindParamVO();

	factory AppConfigWxBindParamVO.fromJson(Map<String, dynamic> json) => $AppConfigWxBindParamVOFromJson(json);

	Map<String, dynamic> toJson() => $AppConfigWxBindParamVOToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class AppConfigAdminUsers {
	late int userId = 0;

	AppConfigAdminUsers();

	factory AppConfigAdminUsers.fromJson(Map<String, dynamic> json) => $AppConfigAdminUsersFromJson(json);

	Map<String, dynamic> toJson() => $AppConfigAdminUsersToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class AppConfigOssParamsVO {
	late String endPoint = '';
	late String accessKeyId = '';
	late String accessKeySecret = '';
	late String bucketName = '';

	AppConfigOssParamsVO();

	factory AppConfigOssParamsVO.fromJson(Map<String, dynamic> json) => $AppConfigOssParamsVOFromJson(json);

	Map<String, dynamic> toJson() => $AppConfigOssParamsVOToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class AppConfigTipsVOS {
	late int scene = 0;
	late String title = '';
	late String content = '';

	AppConfigTipsVOS();

	factory AppConfigTipsVOS.fromJson(Map<String, dynamic> json) => $AppConfigTipsVOSFromJson(json);

	Map<String, dynamic> toJson() => $AppConfigTipsVOSToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class AppConfigLiuMaVO3 {
	late String width = '';
	late String length = '';
	late String codeRate = '';
	late String frameRate = '';
	late String scale = '';

	AppConfigLiuMaVO3();

	factory AppConfigLiuMaVO3.fromJson(Map<String, dynamic> json) => $AppConfigLiuMaVO3FromJson(json);

	Map<String, dynamic> toJson() => $AppConfigLiuMaVO3ToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class AppConfigLiuMaVO7 {
	late String width = '';
	late String length = '';
	late String codeRate = '';
	late String frameRate = '';
	late String scale = '';

	AppConfigLiuMaVO7();

	factory AppConfigLiuMaVO7.fromJson(Map<String, dynamic> json) => $AppConfigLiuMaVO7FromJson(json);

	Map<String, dynamic> toJson() => $AppConfigLiuMaVO7ToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class AppConfigLiuMaVO9 {
	late String width = '';
	late String length = '';
	late String codeRate = '';
	late String frameRate = '';
	late String scale = '';

	AppConfigLiuMaVO9();

	factory AppConfigLiuMaVO9.fromJson(Map<String, dynamic> json) => $AppConfigLiuMaVO9FromJson(json);

	Map<String, dynamic> toJson() => $AppConfigLiuMaVO9ToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}